package com.leon.classify.domain;

import java.util.Set;

/**
 * HeadAdvert entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class HeadAdvert implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String headAdvertId;
	private Integer location;
	private String headName;
	private Integer state;
	private Integer displayOrder;
	private Set <HeadAdvertList> headAdvertLists;

	// Constructors

	/** default constructor */
	public HeadAdvert() {
	}

	/** full constructor */
	public HeadAdvert(Integer location, String headName, Integer state,
			Integer displayOrder, Set <HeadAdvertList> headAdvertLists) {
		this.location = location;
		this.headName = headName;
		this.state = state;
		this.displayOrder = displayOrder;
		this.headAdvertLists = headAdvertLists;
	}

	// Property accessors

	public String getHeadAdvertId() {
		return this.headAdvertId;
	}

	public void setHeadAdvertId(String headAdvertId) {
		this.headAdvertId = headAdvertId;
	}

	public Integer getLocation() {
		return this.location;
	}

	public void setLocation(Integer location) {
		this.location = location;
	}

	public String getHeadName() {
		return this.headName;
	}

	public void setHeadName(String headName) {
		this.headName = headName;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Integer getDisplayOrder() {
		return this.displayOrder;
	}

	public void setDisplayOrder(Integer displayOrder) {
		this.displayOrder = displayOrder;
	}

	public Set<HeadAdvertList> getHeadAdvertLists() {
		return headAdvertLists;
	}

	public void setHeadAdvertLists(Set<HeadAdvertList> headAdvertLists) {
		this.headAdvertLists = headAdvertLists;
	}


}